home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / ps40sdk / examples / common / headers.h / piproperties.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-14  |  3.0 KB  |  110 lines

  1. /*
  2.     File: PIProperties.h
  3.  
  4.     Copyright (c) 1994-6, Adobe Systems Incorporated.
  5.     All rights reserved.
  6.  
  7.     This file describes the selectors for the properties callback suite.
  8. */
  9.  
  10. /* Get the number of channels.  Returns the number of channels in the simple
  11.    property field. */
  12.    
  13. #define propNumberOfChannels  'nuch'
  14.  
  15. /* Returns a handle containing the characters for the name of the channel. */
  16.  
  17. #define propChannelName          'nmch'
  18.  
  19. /* Returns the image mode using the plugInMode constants.  (Simple) */
  20.  
  21. #define propImageMode          'mode'
  22.  
  23. /* Returns the number of channels including the work path. (Simple) */
  24.  
  25. #define propNumberOfPaths      'nupa'
  26.  
  27. /* Returns the name of the indexed path (zero-based). (Complex) */
  28.  
  29. #define propPathName          'nmpa'
  30.  
  31. /* Returns the contents of the indexed path (zero-based). (Complex) */
  32.  
  33. #define propPathContents      'path'
  34.  
  35. /* The index of the work path.  -1 if no work path. (Simple) */
  36.  
  37. #define propWorkPathIndex     'wkpa'
  38.  
  39. /* The index of the clipping path.  -1 if none. (Simple) */
  40.  
  41. #define propClippingPathIndex 'clpa'
  42.  
  43. /* The index of the target path.  -1 if none. (Simple) */
  44.  
  45. #define propTargetPathIndex   'tgpa'
  46.  
  47. /* The file meta information is an IPTC-NAA record (Complex, Modifiable) */
  48.  
  49. #define propCaption              'capt'
  50.  
  51. /* The big nudge distance. Horizontal and vertical components. These are
  52.    represented as a 16.16 values. (Simple, Modifiable) */
  53.  
  54. #define propBigNudgeH          'bndH'
  55. #define propBigNudgeV          'bndV'
  56.  
  57. /* The current interpolation method: 1 = point sample, 2 = bilinear, 3 = bicubic
  58.    (Simple) */
  59.    
  60. #define propInterpolationMethod 'intp'
  61.  
  62. /* The current ruler units. (Simple) */
  63.  
  64. #define propRulerUnits            'rulr'
  65.  
  66. /* The current ruler origin.  Horizontal and vertical components.  These are
  67.     represented as 16.16 values. (Simple, Modifiable) */
  68.  
  69. #define propRulerOriginH        'rorH'
  70. #define propRulerOriginV        'rorV'
  71.  
  72. /* The current major grid rules, in inches, unless propRulerUnits is pixels, and
  73.    then pixels.  Represented as 16.16 value. (Simple, Modifiable) */
  74.    
  75. #define propGridMajor            'grmj'
  76.  
  77. /* The current number of grid subdivisions per major rule (Simple, Modifiable) */
  78.  
  79. #define propGridMinor            'grmn'
  80.  
  81. /* The serial number string shown to the user. (Complex) */
  82.  
  83. #define propSerialString        'sstr'
  84.  
  85. /* The hardware gamma table. (PC Only) (Complex) */
  86.  
  87. #define propHardwareGammaTable    'hgam'
  88.  
  89. /* The interface Color scheme */
  90.  
  91. #define propInterfaceColor        'iclr'
  92.  
  93. /* The watch suspension level. When non-zero, you can make callbacks to the host
  94. without fear that the watch will start spinning. It is reset to zero at the beginning
  95. of each call from the host to the plug-in. (Simple, modifiable) */
  96.  
  97. #define propWatchSuspension        'wtch'
  98.  
  99. /* Whether the current image is considered copywritten (Simple, Modifiable) */
  100.  
  101. #define propCopyright            'cpyr'
  102.  
  103. /* The URL for the current image (Complex, Modifiable) */
  104.  
  105. #define propURL                    'URL '
  106.  
  107. /* The title of the current document (Complex) */
  108.  
  109. #define propTitle                'titl'
  110.